package cn.jichangxiu.ucenter;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

@SpringBootApplication
@EnableDiscoveryClient
@EnableResourceServer
@ServletComponentScan
@EntityScan(basePackages = "cn.jichangxiu.common.ucenter.entity")
public class UCenterServer {

    public static void main(String[] args) {
        SpringApplication.run(UCenterServer.class , args);
    }

}
